using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Structure
{
    public sealed class ConfirmOrderChangeData
    {
        private DateTime mTransDate;
        public System.DateTime TransDate
        {
            get { return mTransDate; }
            set { mTransDate = value; }
        }
        private string mTimestamp;
        public string Timestamp
        {
            get { return mTimestamp; }
            set { mTimestamp = value; }
        }

        private string mOrderNumber;
        public string OrderNumber
        {
            get { return mOrderNumber; }
            set { mOrderNumber = value; }
        }

        private string mClientID;
        public string ClientID
        {
            get { return mClientID; }
            set { mClientID = value; }
        }

        private string mPortClientFlag;
        public string PortClientFlag
        {
            get { return mPortClientFlag; }
            set { mPortClientFlag = value; }
        }

        private long mPublishedVolume;
        public long PublishedVolume
        {
            get { return mPublishedVolume; }
            set { mPublishedVolume = value; }
        }

        private string mPrice;
        public string Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        public ConfirmOrderChangeData(string ts, string ordernum, string clientid, string port, long mvol, string price)
        {
            this.mTimestamp = ts;
            this.mOrderNumber = ordernum;
            this.mClientID = clientid;
            this.mPortClientFlag = port;
            this.mPublishedVolume = mvol;
            this.mPrice = price;
        }

        public ConfirmOrderChangeData(DateTime transdate, string ts, string ordernum, string clientid, string port, long mvol, string price)
        {
            this.mTransDate = transdate;
            this.mTimestamp = ts;
            this.mOrderNumber = ordernum;
            this.mClientID = clientid;
            this.mPortClientFlag = port;
            this.mPublishedVolume = mvol;
            this.mPrice = price;
        }

    }
}
